package exceptions.semantic;

public class UndeclaredIndentifierException extends SemanticException{
	private int linea;
	private String identifier; 
	
	public UndeclaredIndentifierException(int l, String id) {
		linea = l;
		identifier = id;

	}
	
	public String getMessage(){
		return ("UndeclaredIndentifierException: Error Semantico! "+identifier+" Detalle: Identificador no declarado en la clase. - Linea: "+linea);
	}

}
